package indi.jp.project.business.device.entity;

import indi.jp.project.core.entity.BaseEntity;

import java.util.Date;

public class Device extends BaseEntity {

    // 主键，UUID
    private String id;

    // 设备编码
    private String code;

    // 出场序列号
    private String serialNo;

    // 设备名
    private String name;

    // 型号
    private String model;

    // 规格
    private String specs;

    // 精度
    private String prec;

    // 生产厂商编号
    private String makerCode;

    // 上产厂商名称
    private String makerName;

    // 采购日期
    private Date purchaseDate;

    // 单价
    private int unitPrice;

    // 检定/校准周期
    private String calCycle;

    // 检定/校准日期
    private Date calDate;

    // 计划送检单位
    private String inspectCompany;

    // 部门ID
    private String departmentId;

    // 部门编码
    private String departmentCode;

    // 部门名称
    private String departmentName;

    // 项目ID
    private String projectId;

    // 项目编码
    private String projectCode;

    // 项目名称
    private String projectName;

    // 保管人工号
    private String employeeNo;

    // 保管人名称
    private String employeeName;

    private String remark;

    // 状态
    private int state;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getSerialNo() {
        return serialNo;
    }

    public void setSerialNo(String serialNo) {
        this.serialNo = serialNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getSpecs() {
        return specs;
    }

    public void setSpecs(String specs) {
        this.specs = specs;
    }

    public String getPrec() {
        return prec;
    }

    public void setPrec(String prec) {
        this.prec = prec;
    }

    public String getMakerCode() {
        return makerCode;
    }

    public void setMakerCode(String makerCode) {
        this.makerCode = makerCode;
    }

    public String getMakerName() {
        return makerName;
    }

    public void setMakerName(String makerName) {
        this.makerName = makerName;
    }

    public Date getPurchaseDate() {
        return purchaseDate;
    }

    public void setPurchaseDate(Date purchaseDate) {
        this.purchaseDate = purchaseDate;
    }

    public int getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(int unitPrice) {
        this.unitPrice = unitPrice;
    }

    public String getCalCycle() {
        return calCycle;
    }

    public void setCalCycle(String calCycle) {
        this.calCycle = calCycle;
    }

    public Date getCalDate() {
        return calDate;
    }

    public void setCalDate(Date calDate) {
        this.calDate = calDate;
    }

    public String getInspectCompany() {
        return inspectCompany;
    }

    public void setInspectCompany(String inspectCompany) {
        this.inspectCompany = inspectCompany;
    }

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartmentCode() {
        return departmentCode;
    }

    public void setDepartmentCode(String departmentCode) {
        this.departmentCode = departmentCode;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getEmployeeNo() {
        return employeeNo;
    }

    public void setEmployeeNo(String employeeNo) {
        this.employeeNo = employeeNo;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
